package com.javasm.aftersales;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.javasm.gg.Goods;
import com.javasm.sale.Order;

import java.io.Serializable;
import java.util.List;

@TableName("aftersales_sale_return")
public class SaleReturn implements Serializable {

    @TableId(type = IdType.ASSIGN_ID)
    private String saleReturnId;
   
    private String orderId;
   
    private String status;
   
    private String remark;
   
    private String createId;
   
    private String createTime;
   
    private String updateTime;
    private String  createUsername;

    @TableField(exist = false)
    private List<Goods> commodityList;

    @TableField(exist = false)
    private Order order ;

    @TableField(exist = false)
    private List<String> createTimeArray;

    public SaleReturn() {
    }

    public List<String> getCreateTimeArray() {
        return createTimeArray;
    }

    public void setCreateTimeArray(List<String> createTimeArray) {
        this.createTimeArray = createTimeArray;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getCreateUsername() {
        return createUsername;
    }

    public void setCreateUsername(String createUsername) {
        this.createUsername = createUsername;
    }

    public Order getOrder() {
        return order;
    }

    public void setOrder(Order order) {
        this.order = order;
    }

    public List<Goods> getCommodityList() {
        return commodityList;
    }

    public void setCommodityList(List<Goods> commodityList) {
        this.commodityList = commodityList;
    }

    public String getSaleReturnId() {
        return saleReturnId;
    }

    public void setSaleReturnId(String saleReturnId) {
        this.saleReturnId = saleReturnId;
    }

    public String getOrderId() {
        return orderId;
    }

    public void setOrderId(String orderId) {
        this.orderId = orderId;
    }


    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public String getCreateId() {
        return createId;
    }

    public void setCreateId(String createId) {
        this.createId = createId;
    }

    public String getCreateTime() {
        return createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }

    public String getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(String updateTime) {
        this.updateTime = updateTime;
    }
}

